import { IPSSysCounterItem } from './ipssys-counter-item';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSSysCounterItemImpl extends PSModelObjectImpl implements IPSSysCounterItem {
  get logicName(): string {
    return this.M.logicName;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): string {
    return this.M.name;
  }

  get cls(): string {
    return 'PSSysCounterItemImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.counter.IPSSysCounterItem') return true;
    return super.instanceof(cls);
  }
}
